package com.cuit.qx.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 风险等级表
 * </p>
 *
 * @author lcj
 * @since 2021-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RiskGrade extends Model<RiskGrade> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 最大值
     */
    private String valueMax;

    /**
     * 最小值
     */
    private String valueMin;

    /**
     * 值
     */
    private String riskValue;

    /**
     * 等级
     */
    private String grade;

    /**
     * 颜色
     */
    private String color;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
